package com.ltx.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


public class Record {
    private int mId;          //会员id
    private Date startTime;   //健身开始时间
    private Date OverTime;    //健身完毕时间
    private int frequency;    //健身次数

    public int getmId() {
        return mId;
    }

    public void setmId(int mId) {
        this.mId = mId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getOverTime() {
        return OverTime;
    }

    public void setOverTime(Date overTime) {
        OverTime = overTime;
    }

    public int getFrequency() {
        return frequency;
    }

    public void setFrequency(int frequency) {
        this.frequency = frequency;
    }

    @Override
    public String toString() {
        return "Record{" +
                "mId=" + mId +
                ", startTime=" + startTime +
                ", OverTime=" + OverTime +
                ", frequency=" + frequency +
                '}';
    }
}
